package com.ksyun.campus.client.service;


import com.ksyun.campus.client.FSInputStream;
import com.ksyun.campus.client.FSOutputStream;
import com.ksyun.campus.client.domain.ClusterInfo;
import com.ksyun.campus.client.domain.StatInfo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface EFileService {


    public ClusterInfo getClusterInfo();

    FSInputStream open(String fileName,String path);

    FSOutputStream create(String fileName,String path);

    boolean mkdir(String fileName,String path);

    boolean delete(String fileName,String path);

    StatInfo getFileStats(String fileName,String path);

    List<StatInfo> listFileStats(String fileName,String path);
}
